﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.ME.Exam.Domain.Entities
{
    /// <summary>
    /// 实例
    /// </summary>
    public class WF_Instance
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public string InstanceId { get; set; }
        /// <summary>
        /// 应用程序ID（即班级表的主键）
        /// </summary>
        public int AppId { get; set; }
        /// <summary>
        /// 流程状态
        /// </summary>
        public int FlowStatus { get; set; }
        /// <summary>
        /// 流程状态名称
        /// </summary>
        public string FlowStatusName { get; set; }
        /// <summary>
        /// 发起人Id
        /// </summary>
        public int StaterId { get; set; }
        /// <summary>
        /// 发起人名称
        /// </summary>
        public string StarterName { get; set; }
        /// <summary>
        /// 当前节点编号
        /// </summary>
        public string CurrentNodeNo { get; set; }
        /// <summary>
        /// 当前节点名称
        /// </summary>
        public string CurrentNodeName { get; set; }
        /// <summary>
        /// 当前操作人编号
        /// </summary>
        public int CurrentOperatorId { get; set; }
        /// <summary>
        /// 当前操作人名称
        /// </summary>
        public string CurrentOperatorName { get; set;}
        /// <summary>
        /// 下一节点编号
        /// </summary>
        public string NextNodeNo { get; set; }
        /// <summary>
        /// 下一节点名称
        /// </summary>
        public string NextNodeName { get; set; }
        /// <summary>
        /// 下一操作人编号
        /// </summary>
        public int NextOperatorId { get; set; }
        /// <summary>
        /// 下一操作人名称
        /// </summary>
        public string NextOperatorName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
